$("#content").html("<%= escape_javascript(render(:partial => "new")) %>");
$("#offer_expiry_date").datepicker({ minDate: 0, dateFormat: "yy-mm-dd"});